import request from '../utils/request';

export const getApprovalMsg = query => {
    return request({
        url: 'powerStationApproval/getEleApprovalMsg',
        method: 'get',
        params: query
    });
};

export const agreeApproval = query => {
    return request({
        url: 'powerStationApproval/agreeEleApproval',
        method: 'post',
        params: query
    });
};

export const refuseApproval = query => {
    return request({
        url: 'powerStationApproval/refuseEleApproval',
        method: 'post',
        params: query
    });
};